import React, { Suspense } from 'react';

const Home = React.lazy(() => import('./pages/home/index'));

const App = (): JSX.Element => (
    <Suspense fallback={<div>Loading...</div>}>
        <Home />
    </Suspense>
);

export default App;